<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module ra_directory</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module ra_directory</h1>
<ul class="index"><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>


<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#init-1">init/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#init-2">init/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#deinit-1">deinit/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#register_name-6">register_name/6</a></td><td></td></tr>
<tr><td valign="top"><a href="#unregister_name-2">unregister_name/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#where_is-2">where_is/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#where_is_parent-2">where_is_parent/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#name_of-2">name_of/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#cluster_name_of-2">cluster_name_of/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#pid_of-2">pid_of/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#uid_of-2">uid_of/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#overview-1">overview/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#list_registered-1">list_registered/1</a></td><td></td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="init-1">init/1</a></h3>
<div class="spec">
<p><pre>init(System :: atom()) -&gt; ok | {error, system_not_started}</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="init-2">init/2</a></h3>
<div class="spec">
<p><pre>init(Dir :: <a href="/Users/nkarl/code/rabbitmq/kernel/doc/file.html#type-filename">file:filename()</a>, X2 :: <a href="ra_system.html#type-names">ra_system:names()</a>) -&gt; ok</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="deinit-1">deinit/1</a></h3>
<div class="spec">
<p><pre>deinit(System :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>) -&gt; ok</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="register_name-6">register_name/6</a></h3>
<div class="spec">
<p><pre>register_name(System :: <a href="ra_system.html#type-names">ra_system:names()</a> | atom(),
              UId :: <a href="#type-ra_uid">ra_uid()</a>,
              Pid :: pid(),
              ParentPid :: <a href="#type-maybe">maybe</a>(pid()),
              ServerName :: atom(),
              ClusterName :: <a href="#type-ra_cluster_name">ra_cluster_name()</a>) -&gt;
                 ok</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="unregister_name-2">unregister_name/2</a></h3>
<div class="spec">
<p><pre>unregister_name(System :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>,
                UId :: <a href="#type-ra_uid">ra_uid()</a>) -&gt;
                   <a href="#type-ra_uid">ra_uid()</a></pre></p>
<p> </p>
</div>

<h3 class="function"><a name="where_is-2">where_is/2</a></h3>
<div class="spec">
<p><pre>where_is(System :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>,
         ServerName :: <a href="#type-ra_uid">ra_uid()</a> | atom()) -&gt;
            pid() | undefined</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="where_is_parent-2">where_is_parent/2</a></h3>
<div class="spec">
<p><pre>where_is_parent(System :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>,
                ServerName :: <a href="#type-ra_uid">ra_uid()</a> | atom()) -&gt;
                   pid() | undefined</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="name_of-2">name_of/2</a></h3>
<div class="spec">
<p><pre>name_of(SystemOrNames :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>,
        UId :: <a href="#type-ra_uid">ra_uid()</a>) -&gt;
           <a href="#type-maybe">maybe</a>(atom())</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="cluster_name_of-2">cluster_name_of/2</a></h3>
<div class="spec">
<p><pre>cluster_name_of(SystemOrNames :: <a href="ra_system.html#type-names">ra_system:names()</a> | atom(),
                UId :: <a href="#type-ra_uid">ra_uid()</a>) -&gt;
                   <a href="#type-maybe">maybe</a>(<a href="#type-ra_cluster_name">ra_cluster_name()</a>)</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="pid_of-2">pid_of/2</a></h3>
<div class="spec">
<p><pre>pid_of(SystemOrNames :: atom() | <a href="ra_system.html#type-names">ra_system:names()</a>,
       UId :: <a href="#type-ra_uid">ra_uid()</a>) -&gt;
          <a href="#type-maybe">maybe</a>(pid())</pre></p>
<p> </p>
</div>

<h3 class="function"><a name="uid_of-2">uid_of/2</a></h3>
<div class="spec">
<p><tt>uid_of(System, ServerName) -&gt; any()</tt></p>
<p> </p>
</div>

<h3 class="function"><a name="overview-1">overview/1</a></h3>
<div class="spec">
<p><tt>overview(System) -&gt; any()</tt></p>
<p> </p>
</div>

<h3 class="function"><a name="list_registered-1">list_registered/1</a></h3>
<div class="spec">
<p><pre>list_registered(System :: atom()) -&gt; [{atom(), <a href="#type-ra_uid">ra_uid()</a>}]</pre></p>
<p> </p>
</div>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc</i></p>
</body>
</html>
